home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld: Super Stacks!
/
Macworld CD.iso
/
HyperCard Archives
/
International
/
French v1.2.5.1
/
Piles principales
/
Notes sur la version 1.2.5
/
card_5451.txt
< prev
next >
Wrap
Text File
|
1989-10-04
|
2KB
|
71 lines
-- card: 5451 from stack: in.5
-- bmap block id: 0
-- flags: 0000
-- background id: 5683
-- name: clickH et clickV
-- part contents for background part 7
----- text -----
clickH et clickV
-- part contents for background part 8
----- text -----
the clickH
the clickV
-- part contents for background part 10
----- text -----
aucun
-- part contents for background part 11
----- text -----
The clickH renvoie le nombre entier de pixels séparant l'endroit du dernier clic du bord gauche de la fenêtre de carte (équivalent de item 1 of the clickLoc). The clickV renvoie le nombre entier de pixels séparant l'endroit du dernier clic du bord supérieur de la fenêtre de carte (équivalent de item 2 of the clickLoc).
-- part contents for background part 17
----- text -----
--affichage des coordonnées horizontale et
--verticale du clic
click at 256,171
put the clickH -- affiche 256
put the clickV -- affiche 171
--alignement du bord gauche de 3 boutons
--sur l'endroit o√π clique l'utilisateur
get the clickV
set the left of bg btn 1 to it
set the left of bg btn 2 to it
set the left of bg btn 3 to it
-- part contents for background part 9
----- text -----
Nouvelles fonctions HyperTalk
Carte 1 sur 10
-- part contents for background part 18
----- text -----
on clickDemo
--affichage de clickH et clickV
click at 15,100 --(ou attendre un clic)
put "Coordonnée horizontale :" && the clickH &&¬
" Coordonnée verticale :" && the clickV
--déplacement d'un bouton en fonction de clickH
if the clickLoc is within "0,0,512,342" then
set the left of bg btn "démo" to the clickH
wait 2 seconds
set the left of bg btn "démo" to 422
end if
cleanExit
end clickDemo
-- part contents for background part 31
----- text -----
Coordonnées